You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="PikkaWiki" timestamp="2018-05-30T06:36:53Z" comment="" />
          <rev user="PikkaWiki" timestamp="2018-05-30T06:35:06Z" comment="PikkaWiki moved page [[Old Main Page]] to [[Main Page]] without leaving a redirect" />
          <rev user="PikkaWiki" timestamp="2014-01-20T20:31:46Z" comment="moved [[Main Page]] to [[Old Main Page]]" />
          <rev user="PikkaWiki" timestamp="2013-02-09T02:30:24Z" comment="" />
          <rev user="PikkaWiki" timestamp="2013-01-03T22:29:08Z" comment="/* UK Railway Set (UKRS2) */" />
        </revisions>
      </page>
    </pages>
  </query>
  <query-continue>
    <revisions rvstartid="3945" />
  </query-continue>
</api>